import axios from 'axios'

const api = axios.create({
  baseURL:'http://www.codeman.ink/api',
  timeout: 5000
})

api.interceptors.request.use(config=>{
  return config
},err=>{
  return err
})

api.interceptors.response.use(res=>{
  return res
},err=>{
  return err
})

export default api